{{--<style>
    .sticky-row {
        position: sticky;
        top: 0;
        left: 0;
        background: #f4f4f4;
    }

    /*表头*/
    table thead {
        z-index: 2;
        position: sticky;
        position: -webkit-sticky;
        top: 0;
        background: #f4f4f4;
    }
    table thead tr th:first-child{
        position: sticky;
        top: 0;
        left: 0;
        background: #f4f4f4;
    }

    /*表格*/
    table tbody tr td:first-child {
        z-index: 1;
        position: sticky;
        position: -webkit-sticky;
        left: 0;
        background: #f4f4f4;
    }
</style>--}}

<table class="table table-hover">
    <thead>
    <tr>
        @foreach($headers as $filed => $item)
            <th>{{ $item['title'] }}</th>
        @endforeach
    </tr>
    <tr style="color:#f56f9c">
        @include('sales-report.payment-summary-lt.list-common.ttl.num')
    </tr>
    </thead>
    <tbody>
    @foreach($paginator as $row)
        <tr>
            <td>{{ $row->report_date }}</td>
            @include('sales-report.payment-summary-lt.list-common.td.num')
        </tr>
    @endforeach
    </tbody>
</table>
